package com.hy.entity.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class HyPlace {
  @TableId
  @ExcelProperty(value = "区域ID",index = 0)
  private Integer placeId;
  @ExcelProperty(value = "区域名称",index = 1)
  private String placeName;
  @ExcelIgnore
  private Integer ownerDeptId;
  @ExcelIgnore
  private Integer unitId;
  @ExcelIgnore
  private Integer placeMgr;
  @TableLogic
  @ExcelIgnore
  private Integer del;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ExcelProperty(value = "创建时间",index = 6)
  private String createDate;
  @ExcelProperty(value = "占地面积",index = 5)
  private String area; //面积


}
